package com.hongyun.tms.common.dto.prodplan;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hongyun.tms.common.PageDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * 生产计划list查询参数
 *
 * @author liPeng
 * @date 2024-05-31
 **/
@Data
public class ProPlanQueryDto extends PageDto implements Serializable {

    @ApiModelProperty(value = "拖轮")
    private Long tugId;

    @ApiModelProperty(value = "计划编号")
    private String planCode;

    @ApiModelProperty(value = "船名")
    private String shipName;

    @ApiModelProperty(value = "客户名")
    private String customerName;

    @ApiModelProperty(value = "作业港区Code")
    private String portAreaCode;

    @ApiModelProperty(value = "码头id")
    private Long dockId;

    @ApiModelProperty("计划作业时间start")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String planTimeStart;

    @ApiModelProperty("计划作业时间end")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String planTimeEnd;

    @ApiModelProperty(value = "queryType = 1时表示查询的拖轮计费菜单，只展示1已审核或2已计费的")
    private Integer queryType;


    @ApiModelProperty(value = "status筛选")
    private Integer status;

}
